package com.ruoyi.common.utils;

public class SmsFactory {

    public static final String defaultType = "Sdk2SmsSend";//MeiYaSms
    public static BaseSmsSend getSender() {
        return getSender(defaultType);
    }
    public static BaseSmsSend getSender(String type) {
        if ("Sdk2SmsSend".equals(type)) {
            return new Sdk2SmsSend();
        }
        return new MeiYaSms();
    }
}
